/**
 * 
 */
package edu.stu.cs.software.family.base.domain;

import java.io.Serializable;

/**
 * Base abstract class for Model objects, Child objects should implement
 * toString(),equals() and hashCode().
 * 
 * @author hgl
 *
 */
@SuppressWarnings("serial")
public abstract class BaseDomain implements Serializable {
 /**
  * Compares object equality. When using Hibernate,the primary key should not be
  * a part of this comparison,
  * @param o
  * 	object to compare to
  * @return true/false based on equality tests
  */
	public abstract boolean equals(Object o);
	/**
	 * 
	 * @return hashCode
	 */
	
	public abstract int hashCode();
	
	/**
	 * 
	 * @return a String representation of this class.
	 */
	
	public abstract String toString();
}
